package com.victor.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.victor.dao.DemoDao;
import com.victor.entity.Demo;
import com.victor.entity.LookThings;
import com.victor.service.DemoService;

@Service
public class DemoServiceimpl implements DemoService {

	@Autowired
	DemoDao demoDao;

	@Override
	public List<Demo> getall() {
		return demoDao.getall();
	}

	@Override
	public int addlookthings(LookThings lookthings) {
		return demoDao.addlookthings(lookthings);
	}
}
